<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'adminHome.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
   <BODY background="tutu/11.jpg">
  
  <h3>您已进入管理员后台界面！</h3><hr>
  
    <s:if test="#session.adminName!=null">
  <strong><i>
     欢迎管理员:<font color="red"><s:property value="#session.adminName"/></font> 
   
  <br>
  您可以在左边功能区进行管理操作！
  </i></strong><br><br>
 
  
  <a href="adminLogout" target="3">注销</a>
  </s:if>
  <s:else>
  <strong><i><font color="red">
  当前处于未登录状态  </font> <a href="frag/adminLogin.jsp" target="3">请先登陆</a>
 </i></strong>
  </s:else>

  </body>
</html>
